//定义颜色
@default:#00b38a;
@white:#ffffff;
@word:#555;
@fa:#FAFAFA;

img{
    border: 0;
    vertical-align: top;
    display: inline-block;
}
input[type=text]{
    height: 30px;
    line-height: 30px;
    font-family: "Hiragino Sans GB","Microsoft Yahei",SimSun,Arial,"Helvetica Neue",Helvetica!important;
    color: #555;
}

.top_info{
    padding: 34px 0 0;
    background: #ebf0ef;
//  展示模式
    .top_info_wrap{
        position: relative;
        width: 1024px;
        height: 164px;
        margin: 0 auto;
        border: 1px solid #eaeaea;
        background-color: @white;
        img{
            position: absolute;
            top: 0;
            left: 0;
            width: 164px;
            height: 164px;
            border-right: 1px solid #EAEAEA;
        }
        .company_info{
            margin-left: 165px;
            .company_main{
                height: 81px;
                padding: 20px 20px 0;
                overflow: hidden;
                .edit{
                    float: right;
                    font-size: 16px;
                    color: @default;
                    i{
                        float: left;
                        width: 12px;
                        height: 15px;
                        background: url(../image/icons1_clear.png) no-repeat 0 -48px;
                        margin: 4px 5px 0 0;
                    }
                }
                h1{
                    float: left;
                    max-width: 560px;
                    max-height: 33px;
                    padding-right: 2px;
                    margin: 0;
                    line-height: 33px;
                    font-size: 24px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    a{
                        line-height: 33px;
                    }
                    a:hover{
                        color: #019875;
                    }
                }
                .company_word{
                    margin-top: 20px;
                    font-size: 16px;
                    clear: both;
                }
            }
            .company_data{
                height: 63px;
                background: @fa;
                overflow: hidden;
                ul{
                    padding: 14px 0;
                    margin-left: -1px;
                    li{
                        display: inline-block;
                        width: 120px;
                        border-left: 1px solid #EDEDED;
                        text-align: center;
                        strong{
                            font-weight: 100;
                            font-size: 18px;
                            color: #555;
                        }
                        span{
                            display: inline-block;
                            vertical-align: middle;
                            line-height: 18px;
                            font-size: 12px;
                            color: #b7b7b7;
                        }
                        span.tip{
                            width: 20px;
                            height: 15px;
                            margin-left: -6px;
                            vertical-align: -4px;
                            background: url(../image/publisher_data_tip.png) right center no-repeat;
                        }
                    }
                }
                
            }
        }
    }
//  编辑模式
    .top_info_edit{
        width: 1024px;
        min-height: 164px;
        margin: 0 auto;
        border: 1px solid #EAEAEA;
        background: #FEFEF2;
        .company_logo_edit{
            float: left;
            position: relative;
            width: 164px;
            height: 164px;
            *{
                position: absolute;
                top: 0;
                left: 0;
                width: 164px;
                height: 164px;
                cursor: pointer;
            }
            .upload_shadow{
                background: #000;
                opacity: .5;
            }
            .upload_text{
                text-align: center;
                color: @white;
                i{
                    display: block;
                    position: absolute;
                    width: 60px;
                    height: 47px;
                    margin: 34px 0 0 50px;
                    background: url(../image/icons1_clear.png) no-repeat -23px 0;
                }
                span{
                    display: block;
                    margin-top: 100px;
                }
            }
            label{
                overflow: hidden;
                input{
                    position: absolute;
                    top: -50px;
                    left: 0;
                }
            }
        }
        .company_info_edit{
            position: relative;
            padding: 0 0 0 20px;
            margin-left: 165px;
            .cancel_edit{
                position: absolute;
                top: 20px;
                right: 20px;
                font-size: 16px;
                color: @default;
                i{
                    float: left;
                    width: 15px;
                    height: 15px;
                    background: url(../image/icons1_clear.png) no-repeat 0 -83px;
                    cursor: pointer;
                    margin: 4px 5px 0 0;
                }
            }
            label{
                display: inline-block;
                position: relative;
                margin: 11px 20px 11px 0;
                vertical-align: top;
                span.redstar{
                    display: inline-block;
                }
                input{
                    display: inline-block;
                    width: 180px;
                    font-size: 14px;
                    border: 1px solid #f1f3e9;
                    background-color: @white;
                    padding: 8px 15px;
                    margin: 0;
                    -webkit-border-radius: 5px;
                    -moz-border-radius: 5px;
                    border-radius: 5px;
                }
                input:focus{
                    border: 1px solid @default;
                }
                .long{
                    width: 580px;
                }
            }
            .logoname{
                margin: 0 5px;
            }
            .save{
                font-size: 16px;
                color: @white;
                background-color: @default;
                padding: 10px 15px;
                margin-top: 5px;
                -webkit-border-radius: 5px;
                -moz-border-radius: 5px;
                border-radius: 5px;
                margin: 12px 0 12px -10px;
                border: 0;
                cursor: pointer;
            }
            .cancel{
                font-size: 16px;
                color: @default;
                margin-top: 5px;
                padding: 10px 0 10px 10px;
                margin: 12px -4px;
            }
        }
    }
}
//导航条部分
.company_navs{
    background-color: #ebf0ef;
    .company_navs_wrap{
        width: 1024px;
        height: 54px;
        margin: 0 auto;
        ul{
            float: left;
            li{
                display: inline-block;
                height: 50px;
                border-top: 2px solid transparent;
                margin-right: 35px;
                a{
                    display: block;
                    padding: 12px 2px;
                    font-size: 18px;
                    color: #999;
                }
            }
            li.current{
                border-bottom: 2px solid @default;
                a{
                    color: #333;
                }
            }
        }
    }
}

//主体部分
.main_container{
    width: 1024px;
    margin: 40px auto;
    overflow: hidden;
    color: #555;
    font-size: 14px;
//  左边部分
    .container_left{
        float: left;
        width: 710px;
        padding-right: 35px;
        -webkit-box-shadow: 4px 0 4px #f5f5f5;
        -moz-box-shadow: 4px 0 4px #f5f5f5;
        box-shadow: 4px 0 4px #f5f5f5;
        .item_container{
            width: 100%;
            border-top: 1px solid #e8e8e8;
            position: relative;
            padding: 40px 0;
            min-height: 20px;
            margin-top: 10px;
            .item_title{
                position: absolute;
                left: 0;
                top: -11px;
                color: #000;
                font-size: 18px;
                padding-right: 16px;
                background-color: @white;
            }
            .item_ropera{
                position: absolute;
                right: 0;
                top: -8px;
                font-size: 16px;
                padding-left: 10px;
                background-color: @white;
                cursor: pointer;
                em{
                    display: block;
                    float: left;
                    height: 15px;
                    width: 15px;
                    margin: 0 5px 0 0 ;
                    background: url(../image/icons_company.png) no-repeat -36px 0;
                }
                .item_ropetext{
                    float: right;
                    line-height: 16px;
                    font-size: 16px;
                    color: @default;
                }
            }
            .company_intro_text{
                min-height: 20px;
                margin-bottom: 30px;
                overflow: hidden;
                color: #555;
            }
            .company_intro_pic{
                #imgGallery{
                    position: relative;
                    margin: 0 auto 50px;
                    z-index: 1;
                    width: 480px;
                    height: 340px;
                    ul{
                        position: relative;
                        z-index: 1;
                        width: 100%;
                        height: 100%;
                    }
                }
            }
//          隐藏编辑区域
            .item_content_edit{
                .content_edit_tip{
                    margin-bottom: 18px;
                    color: #555;
                }
                .item_ropera_cancel{
                    position: absolute;
                    top: -8px;
                    right: 0;
                    color: @default;
                    font-size: 16px;
                    padding-left: 10px;
                    background-color: @white;
                    cursor: pointer;
                    em{
                        display: block;
                        float: left;
                        height: 15px;
                        width: 15px;
                        background: url(../image/icons_company.png) no-repeat -18px 0;
                        margin: 4px 5px 0 0;
                    }
                }
                .item_main_edit{
                    background-color: #FEFEF2;
                    border: 1px solid #f2f4eb;
                    -webkit-border-radius: 2px;
                    -moz-border-radius: 2px;
                    border-radius: 2px;
                    padding: 20px 15px 30px;
                    label{
                        display: block;
                        margin: 0 0 20px;
                        position: relative;
                        cursor: pointer;
                        .edui{
                            width: 676px;
                            height: 150px;
                            position: relative;
                            z-index: 999;
                            border: 1px solid #f1f3e9;
                            textarea{
                                width: 676px;
                                height: 150px;
                                resize: none;
                                border: 1px solid #f1f3e9;
                            }
                        }
                        span{
                            float: right;
                            font-size: 12px;
                            padding-top: 5px;
                            color: #999;
                        }
                    }
                    .com_img_wrap{
                        margin-bottom: 10px;
                        .dash_wrap{
                            position: relative;
                            margin: 0 auto;
                            width: 328px;
                            height: 232px;
                            border: 1px dashed #d7d7d7;
                            background-color: @white;
                            i{
                                position: absolute;
                                width: 60px;
                                height: 46px;
                                margin: 96px 0 0 50px;
                                background: url(../image/icons1_clear.png) no-repeat -23px -51px;
                            }
                            span{
                                position: absolute;
                                margin: 96px 0 0 125px;
                                line-height: 24px;
                                cursor: pointer;
                            }
                            label{
                                position: absolute;
                                top: 0;
                                left: 0;
                                z-index: 2;
                                width: 328px;
                                height: 232px;
                                margin: 0;
                                input{
                                    position: absolute;
                                    width: 100%;
                                    height: 100%;
                                    opacity: 0;
                                    cursor: pointer;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
//  右边部分
    .container_right{
        float: right;
        width: 245px;
        .item_container{
            width: 100%;
            position: relative;
            border-top: 1px solid #e8e8e8;
            padding: 40px 0;
            min-height: 20px;
            margin-top: 10px;
            .item_ltitle{
                position: absolute;
                left: 0;
                top: -11px;
                color: #000;
                font-size: 18px;
                padding-right: 16px;
                background-color: @white;
            }
            .item_ropera2{
                position: absolute;
                right: 0;
                top: -8px;
                font-size: 16px;
                padding-left: 10px;
                background-color: @white;
                cursor: pointer;
                em{
                    display: block;
                    float: left;
                    height: 15px;
                    width: 15px;
                    margin: 0 5px 0 0 ;
                    background: url(../image/icons_company.png) no-repeat -36px 0;
                }
                .item_ropetext{
                    float: right;
                    line-height: 16px;
                    font-size: 16px;
                    color: @default;
                }
            }
//          展示模式
            .item_content{
                ul{
                    margin-left: 20px;
                    li{
                        height: 15px;
                        line-height: 15px;
                        i{
                            display: inline-block;
                            width: 15px;
                            height: 15px;
                            margin-right: 20px;
                            vertical-align: middle;
                        }
                        .type{
                            background: url(../image/main_z.png) 0 0 no-repeat;
                        }
                        .process{
                            background: url(../image/main_z.png) 0 -18px no-repeat;
                        }
                        .number{
                            background: url(../image/main_z.png) 0 -35px no-repeat;
                        }
                        .address{
                            background: url(../image/main_z.png) -1px -53px no-repeat;
                        }
                        span{
                            position: relative;
                            top: 2px;
                        }
                    }
                    li+li{
                        margin-top: 30px;
                    }
                }
            }
//          编辑模式
            .item_content_edit_wrap{
                .item_content_edit{
                    margin: 20px 0;
                    background-color: #FEFEF2;
                    border: 1px solid #f2f4eb;
                    padding: 20px 15px 30px;
                    -webkit-border-radius: 2px;
                    -moz-border-radius: 2px;
                    border-radius: 2px;
                    label{
                        display: block;
                        margin-bottom: 20px;
                        select,input{
                            display: block;
                            width: 215px;
                            height: 48px;
                            font-size: 14px;
                            text-indent: 1em;
                            border: 1px solid #f1f3e9;
                            color: #555;
                        }
                    }
                }
            }
        }
    }
}





//必填标记
.redstar{
    color: #ff685e;
    float: left;
    position: absolute;
    top: 14px;
    left: -10px;
}
.red{
    color: #ff685e;
}

//取消按钮
.cancel,.cancel2{
    cursor: pointer;
    font-size: 16px;
    color: @default;
    padding: 10px 25px;
    margin-top: 5px;
}

//保存按钮
.save{
    font-size: 16px;
    color: @white;
    background-color: @default;
    padding: 10px 15px;
    margin-top: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin: 12px 0 12px -10px;
    border: 0;
    cursor: pointer;
}



















